package com.zhiyou100.video.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.zhiyou100.video.model.Course;
import com.zhiyou100.video.model.Speaker;
import com.zhiyou100.video.model.Video;

public interface VideoDao {

	List<Speaker> selectSpeaker();


	List<Video> selectVideo(DetachedCriteria video, Integer currentpage);

	Integer selectCount(DetachedCriteria video);


	List<Course> selectCourse();


	void addVideo(Video video);


	void deleteVideo(Integer did);


	Video selectVideol(Integer id);


	List<Video> selectVideok(DetachedCriteria dc);

}
